package net.oschina.app.ViewFragment;

import net.oschina.app.base.BaseAdapter;
import net.oschina.app.fragment.BaseVPFragment;
import net.oschina.app.hjp1.hjpView.hjpFagment;

/**
 * Created by admin on 2017/7/13.
 */

public class TrendsFragment extends BaseVPFragment {
    @Override
    protected void initTab(BaseAdapter adapter) {


        adapter.clear();//先清除适配器集合中的数据，再添加
        adapter.addTab("热门动弹",hjpFagment.class,getBundle("动弹"));
        adapter.addTab("最新动弹",hjpFagment.class,getBundle("动弹"));
        adapter.addTab("我的动弹",hjpFagment.class,getBundle("动弹"));
    }
}
